<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="../../../css/admin.css"/>
<script type="text/javascript" src="../../../js/jquery.js"></script>
<script type="text/javascript" src="../../../js/changebgcolor.js"></script>
<script type="text/javascript" src="../../../js/calendar.js"></script>
<script type="text/javascript" src="../../../js/ui_util.js"></script>
<script type="text/javascript" src="js/all_supplier_util.js"></script>
<script type="text/javascript">
window.onload = function (){
	var supplier_type_val = '';
	supplier_type_val = supplier_type_val + '<option value="" >&nbsp;</option>';
	supplier_type_val = supplier_type_val + '<option value="0" >供应商</option>';
	supplier_type_val = supplier_type_val + '<option value="1" >客户</option>';
	$('#supplier_type').html(supplier_type_val);

	var supplier_comment_val = '';
	supplier_comment_val = supplier_comment_val + '<option value="" >&nbsp;</option>';
	supplier_comment_val = supplier_comment_val + '<option value="0" >优</option>';
	supplier_comment_val = supplier_comment_val + '<option value="1" >良</option>';
	supplier_comment_val = supplier_comment_val + '<option value="2" >差</option>';
	$('#supplier_comment').html(supplier_comment_val);
	
	selectSupplier();
};
</script>
</head>
<body>
<div id="div_header" >
  <div id="div_titel">供应商信息</div>
</div>
<div align="center" style="margin-bottom:10px;">
    名称&nbsp;<input id="supplier_name" type="text" />&nbsp;
    联系人&nbsp;<input id="supplier_man" type="text" />&nbsp;
    类别&nbsp;<select id="supplier_type"></select>&nbsp;
    好评度&nbsp;<select id="supplier_comment"></select>&nbsp;
    <input type="button" value="查找" onclick="selectSupplier()" /> 
</div>
<div align="center">
  <table class="list" border="0" cellspacing="1" width="840"  >
    <thead>
      <tr style="height:15px;">
        <th class="list" width="92" >类别</th>
        <th class="list" width="100" >名称</th>
        <th class="list" width="70" >联系人</th>
        <th class="list" width="130" >电话</th>
        <th class="list" width="130" >传真</th>
        <th class="list" width="" >地址</th>
        <th class="list" width="92" >好评度</th>
        <th class="list" width="50" ><a href="javascript:void(0)" onclick="edit(-1)">添加</a></th>
        <th class="list" width="15" >&nbsp;</th>
      </tr>
    </thead>    
    <tbody>
      <tr>
        <td style="padding:0; margin:0;" colspan="9">
        <div style="width:100%; height:470px; overflow-y:scroll; padding:0; margin:0;">
          <table id="supplier_list" class="list" border="0" cellspacing="1" style="border:0; width:821px; height:100%; "  >
              
          </table>
        </div>
        </td>
      </tr>
    </tbody>
  </table>
</div>

</body>
</html>
